<template>
    <a-button style="margin-left: 10px" @click="onBack">取消</a-button>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
    setup() {
        return {
            onBack: () => {
                history.go(-1)
            }
        }
    }
})
</script>
